<template>
	<view class="search-item">
		<text>{{keyword}}</text>
		{{item.title}}
	</view>
</template>

<script>
	export default {
		name: 'SearchItem',
		props: {
			keyword: {
				type: String || Number,
				default: ''
			},
			item: {
				type: Object,
				default() {
					return {}
				}
			}
		}
	}
</script>

<style lang='scss' scoped>
	.search-item {
		padding-bottom: 30rpx;
		font-size: 30rpx;
		font-weight: 500;
		border-bottom: 1px solid #E5E5E5;
		margin-bottom: 30rpx;
		text {
			margin-right: 5px;
			color: #196EFF;
		}
		&:nth-last-child(1) {
			border: none;
		}
	}
</style>
